﻿using DevExpress.XtraReports.UI;
using DXApplicationTangche.UC.订单.service;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;

namespace DXApplicationTangche.report
{
    public partial class XtraReport半成品质检逾期 : DevExpress.XtraReports.UI.XtraReport
    {
        public XtraReport半成品质检逾期(List<ViewSemiCheckExceptionDao> list)
        {
            InitializeComponent();
            this.DataSource = list;
            this.bindData(list);
        }
        private void bindData(List<ViewSemiCheckExceptionDao> list)
        {
            this.xrTableCell款号.DataBindings.Add("Text", list, "styleCode");
            this.xrTableCell面料号.DataBindings.Add("Text", list, "materialNo");
            this.xrTableCell最早下单时间.DataBindings.Add("Text", list, "minOrderDate");
            this.xrTableCell最晚下单时间.DataBindings.Add("Text", list, "maxOrderDate");
            this.xrTableCell水洗数量.DataBindings.Add("Text", list, "washingmarkQuantity");
            this.xrTableCell订单数量.DataBindings.Add("Text", list, "orderQuantity");
            this.xrTableCell半成品质检数.DataBindings.Add("Text", list, "semiCheckQuantity");
            this.xrTableCell入库数量.DataBindings.Add("Text", list, "stockInQuantity");
            this.xrTableCell工序.DataBindings.Add("Text", list, "stepName");
            this.xrTableCell单价.DataBindings.Add("Text", list, "salePrice");
            this.xrPictureBox图片.DataBindings.Add("Image", list, "pic");
        }

    }

}
